<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/dept/batchAdd" method="post" enctype="multipart/form-data">
    <table border="1">
        <tr><td>下载模板</td><td><a href="/mode/deptinfo.xls">部门模板</a> </td> </tr>
        <tr><td>选择文件</td><td><input type="file" name="excelFile"></td> </tr>
        <tr><td colspan="2"> <input type="submit" value="批量导入"> </td> </tr>
    </table>
</form>

<form action="/dept/add" method="post" enctype="multipart/form-data">
    <table border="1">
        <tr><td>部门名称</td><td><input type="text" name="dname"> </td> </tr>
        <tr><td>部门图片</td><td><input type="file" name="pic"></td> </tr>
        <tr><td colspan="2"> <input type="submit" value="添加"> </td> </tr>
    </table>
</form>
</body>
</html>